//
//  CartViewCell.h
//  AmazingShopping
//
//  Created by Tan on 5/16/13.
//  Copyright (c) 2013 Tan Hoang. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CartViewDelegate <NSObject>

- (void)removeProductFromCart:(NSString *)productID;

@end

@interface CartViewCell : UITableViewCell{
    IBOutlet UILabel *nameLabel;
    IBOutlet UILabel *priceLabel;
    IBOutlet UITextField *qtyTextField;
    IBOutlet UIImageView *productImageView
    ;
}

@property (strong, nonatomic) NSString *name;
@property (strong, nonatomic) NSString *price;
@property (strong, nonatomic) NSData *imageData;
@property (strong, nonatomic) NSString *qty;
@property (nonatomic) NSString *productID;
@property (strong, nonatomic) id<CartViewDelegate> delegate;

- (IBAction)deleteButtonClicked:(id)sender;

@end
